package com.example.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.lang.reflect.Type;

/**
 * <p>
 *  用户类
 * </p>
 *
 * @author: rch
 * @since: 2020-07-15
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

    /**@TableId(type = IdType.AUTO)   自增策略*/
    private Long id;
    private String name;
    private Integer age;
    private String email;

    @Version
    private Integer version;
}
